package com.start.yxgc.mapper;

import com.start.yxgc.pojo.User;
import org.springframework.stereotype.Repository;

/**
 * @author yang jianguo
 * @data 2021.7
 */
@Repository
public interface UserMapper {

    int deleteByPrimaryKey(String uid);

    int insert(User record);

    int insertSelective(User record);


    User selectByPrimaryKey(String uid);


    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    String selectByToken(String token);
}